<?php
$this->breadcrumbs=array(
	'model'=>array('acc/index'),
	'Đăng Ký',
);?>
<h1>Trang Đăng Ký</h1>
<div class='form'>
	<?php 
		$this->beginwidget('CActiveForm',
						array(
							'id'=>'frmDangKy',
							'clientOptions'=>array(
							'validateOnSubmit' => true,
							)
						)
						);
		echo Chtml::errorSummary($model);
	?>
	<div class='row'>
		<?php 
			echo Chtml::activeLabel($model,"name");
			echo Chtml::activetextField($model,"name");
			echo Chtml::error($model,"name");
		?>
	</div>
	<div class='row'>
		<?php 
			echo Chtml::activeLabel($model,"username");
			echo Chtml::activetextField($model,"username");
			echo Chtml::error($model,"username");
		?>
	</div>
	<div class='row'>
		<?php 
			echo Chtml::activeLabel($model,"password");
			echo Chtml::activePasswordField($model,"password");
			echo Chtml::error($model,"password");
		?>
	</div>
	<div class='row'>
		<?php 
			echo Chtml::activeLabel($model,"repass");
			echo Chtml::activepasswordField($model,"repass");
			echo Chtml::error($model,"repass");
		?>
	</div>
	<div class='row'>
		<?php 
			echo Chtml::activeLabel($model,"email");
			echo Chtml::activetextField($model,"email");
			echo Chtml::error($model,"email");
		?>
	</div>
	<div class ='rowbutton'>
		<?php
			echo Chtml::submitButton('Đăng Ký');
			$this->endWidget();
		?>
	</div>
</div>
<?php 
?>
